afbde86b07511998203e7df07ba79ca93830bbc0,flex/src/com/intellij/lang/javascript/flex/flashbuilder/FlashBuilderProjectLoadUtil.java,FlashBuilderProjectLoadUtil,loadDependenciesAndCheckIfSdkUsed,#FlashBuilderProject#Element#Map#,507
Before Change
for (final Element libraryPathElement : ((Iterable<Element>)compilerElement.getChildren(LIBRARY_PATH_TAG))) {
//noinspection unchecked
for (final Element libraryPathEntryElement : ((Iterable<Element>)libraryPathElement.getChildren(LIBRARY_PATH_ENTRY_TAG))) {
final Attribute libraryKindAttr = libraryPathEntryElement.getAttribute(LIBRARY_KIND_ATTR);
final String libraryKind = libraryKindAttr != null ? libraryKindAttr.getValue() : SWC_FILE_KIND;
if (libraryKind.equals(USE_SDK_KIND)) {
project.setSdkUsed(true);
}
After Change
for (final Element libraryPathElement : ((Iterable<Element>)compilerElement.getChildren(LIBRARY_PATH_TAG))) {
//noinspection unchecked
for (final Element libraryPathEntryElement : ((Iterable<Element>)libraryPathElement.getChildren(LIBRARY_PATH_ENTRY_TAG))) {
final String libraryKind = StringUtil.notNullize(libraryPathEntryElement.getAttributeValue(LIBRARY_KIND_ATTR), SWC_FILE_KIND);
if (libraryKind.equals(USE_SDK_KIND)) {
project.setSdkUsed(true);
}